package com.dragon.modules.yuegou.query.wallet;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.wallet.MemberTradeEntity;
import com.dragon.modules.yuegou.enums.CurrencyType;
import com.dragon.modules.yuegou.enums.wallet.MemberTradeType;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员交易（在会员视角的交易流水） 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-10-14 16:57:53
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class MemberTradeQuery extends MemberTradeEntity implements Query<MemberTradeEntity> {

    /** 交易ID（与分表中的ID保持一致）查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 会员ID查询条件 */
	@JsonUnwrapped(prefix = "memberId")
	private Condition<String> memberIdCondition;

    /** 会员钱包ID查询条件 */
	@JsonUnwrapped(prefix = "memberWalletId")
	private Condition<String> memberWalletIdCondition;

    /** 商圈ID（商户所在的商圈ID)查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 商户ID，与商户交易时存在查询条件 */
	@JsonUnwrapped(prefix = "merchantId")
	private Condition<String> merchantIdCondition;

    /** 商户名称查询条件 */
	@JsonUnwrapped(prefix = "merchantName")
	private Condition<String> merchantNameCondition;

    /** 悦卡ID，会员使用悦卡交易时存在查询条件 */
	@JsonUnwrapped(prefix = "memberCardId")
	private Condition<String> memberCardIdCondition;

    /** 订单号，订单支付时存在查询条件 */
	@JsonUnwrapped(prefix = "orderNo")
	private Condition<String> orderNoCondition;

    /** [全局枚举]币种：0-悦币-YUE_COIN、1-福利卡-YUE_CARD_GRANTED、2-预付卡-YUE_CARD_BOUGHT、3-微信-WECHAT、4-支付宝-ALIPAY查询条件 */
	@JsonUnwrapped(prefix = "currencyType")
	private Condition<CurrencyType> currencyTypeCondition;

    /** [枚举]类型：0-充值悦币-RECHARGE_YUE_COIN、1-购买预付卡-BUY_YUE_CARD、2-发放福利卡-GRANT_YUE_CARD、3-订单支付-ORDER_PAY、4-订单退款-ORDER_REFUND、5-悦卡退卡-CARD_REFUND查询条件 */
	@JsonUnwrapped(prefix = "type")
	private Condition<MemberTradeType> typeCondition;

    /** 交易金额（正数表示收入，负数表示支出）查询条件 */
	@JsonUnwrapped(prefix = "amount")
	private Condition<BigDecimal> amountCondition;

    /** 交易前余额查询条件 */
	@JsonUnwrapped(prefix = "amountBefore")
	private Condition<BigDecimal> amountBeforeCondition;

    /** 交易后余额查询条件 */
	@JsonUnwrapped(prefix = "amountAfter")
	private Condition<BigDecimal> amountAfterCondition;

    /** 交易备注查询条件 */
	@JsonUnwrapped(prefix = "remarks")
	private Condition<String> remarksCondition;

    /** 交易时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 企业id查询条件 */
	@JsonUnwrapped(prefix = "companyId")
	private Condition<String> companyIdCondition;

    /** 企业名称查询条件 */
	@JsonUnwrapped(prefix = "companyName")
	private Condition<String> companyNameCondition;

    /** 第三方商户号，与第三方商户号发生交易时存在，示例：微信商户号 wx_1501780391，微信服务商商户号 wx_1505108951_1533645041，支付宝商户号：ali_2088331430099501查询条件 */
	@JsonUnwrapped(prefix = "thirdMchId")
	private Condition<String> thirdMchIdCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public MemberTradeQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public MemberTradeQuery(MemberTradeEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public MemberTradeQuery(MemberTradeQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.memberIdCondition != null) {
			this.memberIdCondition = other.memberIdCondition.copy();
		}
		if(other.memberWalletIdCondition != null) {
			this.memberWalletIdCondition = other.memberWalletIdCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.merchantIdCondition != null) {
			this.merchantIdCondition = other.merchantIdCondition.copy();
		}
		if(other.merchantNameCondition != null) {
			this.merchantNameCondition = other.merchantNameCondition.copy();
		}
		if(other.memberCardIdCondition != null) {
			this.memberCardIdCondition = other.memberCardIdCondition.copy();
		}
		if(other.orderNoCondition != null) {
			this.orderNoCondition = other.orderNoCondition.copy();
		}
		if(other.currencyTypeCondition != null) {
			this.currencyTypeCondition = other.currencyTypeCondition.copy();
		}
		if(other.typeCondition != null) {
			this.typeCondition = other.typeCondition.copy();
		}
		if(other.amountCondition != null) {
			this.amountCondition = other.amountCondition.copy();
		}
		if(other.amountBeforeCondition != null) {
			this.amountBeforeCondition = other.amountBeforeCondition.copy();
		}
		if(other.amountAfterCondition != null) {
			this.amountAfterCondition = other.amountAfterCondition.copy();
		}
		if(other.remarksCondition != null) {
			this.remarksCondition = other.remarksCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(MemberTradeQuery other){
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.companyIdCondition != null) {
			this.companyIdCondition = other.companyIdCondition.copy();
		}
		if(other.companyNameCondition != null) {
			this.companyNameCondition = other.companyNameCondition.copy();
		}
		if(other.thirdMchIdCondition != null) {
			this.thirdMchIdCondition = other.thirdMchIdCondition.copy();
		}
	}

	@Override
	public QueryWrapper<MemberTradeEntity> toQueryWrapper() {
		QueryWrapper<MemberTradeEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (memberIdCondition != null) {
			memberIdCondition.toWrapper(wrapper, COL_MEMBER_ID);
		}
		if (memberWalletIdCondition != null) {
			memberWalletIdCondition.toWrapper(wrapper, COL_MEMBER_WALLET_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (merchantIdCondition != null) {
			merchantIdCondition.toWrapper(wrapper, COL_MERCHANT_ID);
		}
		if (merchantNameCondition != null) {
			merchantNameCondition.toWrapper(wrapper, COL_MERCHANT_NAME);
		}
		if (memberCardIdCondition != null) {
			memberCardIdCondition.toWrapper(wrapper, COL_MEMBER_CARD_ID);
		}
		if (orderNoCondition != null) {
			orderNoCondition.toWrapper(wrapper, COL_ORDER_NO);
		}
		if (currencyTypeCondition != null) {
			currencyTypeCondition.toWrapper(wrapper, COL_CURRENCY_TYPE);
		}
		if (typeCondition != null) {
			typeCondition.toWrapper(wrapper, COL_TYPE);
		}
		if (amountCondition != null) {
			amountCondition.toWrapper(wrapper, COL_AMOUNT);
		}
		if (amountBeforeCondition != null) {
			amountBeforeCondition.toWrapper(wrapper, COL_AMOUNT_BEFORE);
		}
		if (amountAfterCondition != null) {
			amountAfterCondition.toWrapper(wrapper, COL_AMOUNT_AFTER);
		}
		if (remarksCondition != null) {
			remarksCondition.toWrapper(wrapper, COL_REMARKS);
		}
		return getQueryWrapper(wrapper);
	}
	private QueryWrapper<MemberTradeEntity> getQueryWrapper(QueryWrapper<MemberTradeEntity> wrapper){
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (companyIdCondition != null) {
			companyIdCondition.toWrapper(wrapper, COL_COMPANY_ID);
		}
		if (companyNameCondition != null) {
			companyNameCondition.toWrapper(wrapper, COL_COMPANY_NAME);
		}
		if (thirdMchIdCondition != null) {
			thirdMchIdCondition.toWrapper(wrapper, COL_THIRD_MCH_ID);
		}
		return wrapper;
	}

	/**
	 * 构造并返回交易ID（与分表中的ID保持一致）查询条件
	 * 
	 * @return idCondition 交易ID（与分表中的ID保持一致）查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取交易ID（与分表中的ID保持一致）查询条件
	 * 
	 * @return idCondition 交易ID（与分表中的ID保持一致）查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置交易ID（与分表中的ID保持一致）查询条件
	 * 
	 * @param idCondition 交易ID（与分表中的ID保持一致）查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回会员ID查询条件
	 * 
	 * @return memberIdCondition 会员ID查询条件
	 */
	public Condition<String> memberId() {
		this.memberIdCondition = new Condition<>();
		return this.memberIdCondition;
	}
	
	/**
	 * 获取会员ID查询条件
	 * 
	 * @return memberIdCondition 会员ID查询条件
	 */
	public Condition<String> getMemberIdCondition() {
		return memberIdCondition;
	}

	/**
	 * 设置会员ID查询条件
	 * 
	 * @param memberIdCondition 会员ID查询条件
	 */
	public void setMemberIdCondition(Condition<String> memberIdCondition) {
		this.memberIdCondition = memberIdCondition;
	}

	/**
	 * 构造并返回会员钱包ID查询条件
	 * 
	 * @return memberWalletIdCondition 会员钱包ID查询条件
	 */
	public Condition<String> memberWalletId() {
		this.memberWalletIdCondition = new Condition<>();
		return this.memberWalletIdCondition;
	}
	
	/**
	 * 获取会员钱包ID查询条件
	 * 
	 * @return memberWalletIdCondition 会员钱包ID查询条件
	 */
	public Condition<String> getMemberWalletIdCondition() {
		return memberWalletIdCondition;
	}

	/**
	 * 设置会员钱包ID查询条件
	 * 
	 * @param memberWalletIdCondition 会员钱包ID查询条件
	 */
	public void setMemberWalletIdCondition(Condition<String> memberWalletIdCondition) {
		this.memberWalletIdCondition = memberWalletIdCondition;
	}

	/**
	 * 构造并返回商圈ID（商户所在的商圈ID)查询条件
	 * 
	 * @return busdIdCondition 商圈ID（商户所在的商圈ID)查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈ID（商户所在的商圈ID)查询条件
	 * 
	 * @return busdIdCondition 商圈ID（商户所在的商圈ID)查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈ID（商户所在的商圈ID)查询条件
	 * 
	 * @param busdIdCondition 商圈ID（商户所在的商圈ID)查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回商户ID，与商户交易时存在查询条件
	 * 
	 * @return merchantIdCondition 商户ID，与商户交易时存在查询条件
	 */
	public Condition<String> merchantId() {
		this.merchantIdCondition = new Condition<>();
		return this.merchantIdCondition;
	}
	
	/**
	 * 获取商户ID，与商户交易时存在查询条件
	 * 
	 * @return merchantIdCondition 商户ID，与商户交易时存在查询条件
	 */
	public Condition<String> getMerchantIdCondition() {
		return merchantIdCondition;
	}

	/**
	 * 设置商户ID，与商户交易时存在查询条件
	 * 
	 * @param merchantIdCondition 商户ID，与商户交易时存在查询条件
	 */
	public void setMerchantIdCondition(Condition<String> merchantIdCondition) {
		this.merchantIdCondition = merchantIdCondition;
	}

	/**
	 * 构造并返回商户名称查询条件
	 * 
	 * @return merchantNameCondition 商户名称查询条件
	 */
	public Condition<String> merchantName() {
		this.merchantNameCondition = new Condition<>();
		return this.merchantNameCondition;
	}
	
	/**
	 * 获取商户名称查询条件
	 * 
	 * @return merchantNameCondition 商户名称查询条件
	 */
	public Condition<String> getMerchantNameCondition() {
		return merchantNameCondition;
	}

	/**
	 * 设置商户名称查询条件
	 * 
	 * @param merchantNameCondition 商户名称查询条件
	 */
	public void setMerchantNameCondition(Condition<String> merchantNameCondition) {
		this.merchantNameCondition = merchantNameCondition;
	}

	/**
	 * 构造并返回悦卡ID，会员使用悦卡交易时存在查询条件
	 * 
	 * @return memberCardIdCondition 悦卡ID，会员使用悦卡交易时存在查询条件
	 */
	public Condition<String> memberCardId() {
		this.memberCardIdCondition = new Condition<>();
		return this.memberCardIdCondition;
	}
	
	/**
	 * 获取悦卡ID，会员使用悦卡交易时存在查询条件
	 * 
	 * @return memberCardIdCondition 悦卡ID，会员使用悦卡交易时存在查询条件
	 */
	public Condition<String> getMemberCardIdCondition() {
		return memberCardIdCondition;
	}

	/**
	 * 设置悦卡ID，会员使用悦卡交易时存在查询条件
	 * 
	 * @param memberCardIdCondition 悦卡ID，会员使用悦卡交易时存在查询条件
	 */
	public void setMemberCardIdCondition(Condition<String> memberCardIdCondition) {
		this.memberCardIdCondition = memberCardIdCondition;
	}

	/**
	 * 构造并返回订单号，订单支付时存在查询条件
	 * 
	 * @return orderNoCondition 订单号，订单支付时存在查询条件
	 */
	public Condition<String> orderNo() {
		this.orderNoCondition = new Condition<>();
		return this.orderNoCondition;
	}
	
	/**
	 * 获取订单号，订单支付时存在查询条件
	 * 
	 * @return orderNoCondition 订单号，订单支付时存在查询条件
	 */
	public Condition<String> getOrderNoCondition() {
		return orderNoCondition;
	}

	/**
	 * 设置订单号，订单支付时存在查询条件
	 * 
	 * @param orderNoCondition 订单号，订单支付时存在查询条件
	 */
	public void setOrderNoCondition(Condition<String> orderNoCondition) {
		this.orderNoCondition = orderNoCondition;
	}

	/**
	 * 构造并返回[全局枚举]币种：0-悦币-YUE_COIN、1-福利卡-YUE_CARD_GRANTED、2-预付卡-YUE_CARD_BOUGHT、3-微信-WECHAT、4-支付宝-ALIPAY查询条件
	 * 
	 * @return currencyTypeCondition [全局枚举]币种：0-悦币-YUE_COIN、1-福利卡-YUE_CARD_GRANTED、2-预付卡-YUE_CARD_BOUGHT、3-微信-WECHAT、4-支付宝-ALIPAY查询条件
	 */
	public Condition<CurrencyType> currencyType() {
		this.currencyTypeCondition = new Condition<>();
		return this.currencyTypeCondition;
	}
	
	/**
	 * 获取[全局枚举]币种：0-悦币-YUE_COIN、1-福利卡-YUE_CARD_GRANTED、2-预付卡-YUE_CARD_BOUGHT、3-微信-WECHAT、4-支付宝-ALIPAY查询条件
	 * 
	 * @return currencyTypeCondition [全局枚举]币种：0-悦币-YUE_COIN、1-福利卡-YUE_CARD_GRANTED、2-预付卡-YUE_CARD_BOUGHT、3-微信-WECHAT、4-支付宝-ALIPAY查询条件
	 */
	public Condition<CurrencyType> getCurrencyTypeCondition() {
		return currencyTypeCondition;
	}

	/**
	 * 设置[全局枚举]币种：0-悦币-YUE_COIN、1-福利卡-YUE_CARD_GRANTED、2-预付卡-YUE_CARD_BOUGHT、3-微信-WECHAT、4-支付宝-ALIPAY查询条件
	 * 
	 * @param currencyTypeCondition [全局枚举]币种：0-悦币-YUE_COIN、1-福利卡-YUE_CARD_GRANTED、2-预付卡-YUE_CARD_BOUGHT、3-微信-WECHAT、4-支付宝-ALIPAY查询条件
	 */
	public void setCurrencyTypeCondition(Condition<CurrencyType> currencyTypeCondition) {
		this.currencyTypeCondition = currencyTypeCondition;
	}

	/**
	 * 构造并返回[枚举]类型：0-充值悦币-RECHARGE_YUE_COIN、1-购买预付卡-BUY_YUE_CARD、2-发放福利卡-GRANT_YUE_CARD、3-订单支付-ORDER_PAY、4-订单退款-ORDER_REFUND、5-悦卡退卡-CARD_REFUND查询条件
	 * 
	 * @return typeCondition [枚举]类型：0-充值悦币-RECHARGE_YUE_COIN、1-购买预付卡-BUY_YUE_CARD、2-发放福利卡-GRANT_YUE_CARD、3-订单支付-ORDER_PAY、4-订单退款-ORDER_REFUND、5-悦卡退卡-CARD_REFUND查询条件
	 */
	public Condition<MemberTradeType> type() {
		this.typeCondition = new Condition<>();
		return this.typeCondition;
	}
	
	/**
	 * 获取[枚举]类型：0-充值悦币-RECHARGE_YUE_COIN、1-购买预付卡-BUY_YUE_CARD、2-发放福利卡-GRANT_YUE_CARD、3-订单支付-ORDER_PAY、4-订单退款-ORDER_REFUND、5-悦卡退卡-CARD_REFUND查询条件
	 * 
	 * @return typeCondition [枚举]类型：0-充值悦币-RECHARGE_YUE_COIN、1-购买预付卡-BUY_YUE_CARD、2-发放福利卡-GRANT_YUE_CARD、3-订单支付-ORDER_PAY、4-订单退款-ORDER_REFUND、5-悦卡退卡-CARD_REFUND查询条件
	 */
	public Condition<MemberTradeType> getTypeCondition() {
		return typeCondition;
	}

	/**
	 * 设置[枚举]类型：0-充值悦币-RECHARGE_YUE_COIN、1-购买预付卡-BUY_YUE_CARD、2-发放福利卡-GRANT_YUE_CARD、3-订单支付-ORDER_PAY、4-订单退款-ORDER_REFUND、5-悦卡退卡-CARD_REFUND查询条件
	 * 
	 * @param typeCondition [枚举]类型：0-充值悦币-RECHARGE_YUE_COIN、1-购买预付卡-BUY_YUE_CARD、2-发放福利卡-GRANT_YUE_CARD、3-订单支付-ORDER_PAY、4-订单退款-ORDER_REFUND、5-悦卡退卡-CARD_REFUND查询条件
	 */
	public void setTypeCondition(Condition<MemberTradeType> typeCondition) {
		this.typeCondition = typeCondition;
	}

	/**
	 * 构造并返回交易金额（正数表示收入，负数表示支出）查询条件
	 * 
	 * @return amountCondition 交易金额（正数表示收入，负数表示支出）查询条件
	 */
	public Condition<BigDecimal> amount() {
		this.amountCondition = new Condition<>();
		return this.amountCondition;
	}
	
	/**
	 * 获取交易金额（正数表示收入，负数表示支出）查询条件
	 * 
	 * @return amountCondition 交易金额（正数表示收入，负数表示支出）查询条件
	 */
	public Condition<BigDecimal> getAmountCondition() {
		return amountCondition;
	}

	/**
	 * 设置交易金额（正数表示收入，负数表示支出）查询条件
	 * 
	 * @param amountCondition 交易金额（正数表示收入，负数表示支出）查询条件
	 */
	public void setAmountCondition(Condition<BigDecimal> amountCondition) {
		this.amountCondition = amountCondition;
	}

	/**
	 * 构造并返回交易前余额查询条件
	 * 
	 * @return amountBeforeCondition 交易前余额查询条件
	 */
	public Condition<BigDecimal> amountBefore() {
		this.amountBeforeCondition = new Condition<>();
		return this.amountBeforeCondition;
	}
	
	/**
	 * 获取交易前余额查询条件
	 * 
	 * @return amountBeforeCondition 交易前余额查询条件
	 */
	public Condition<BigDecimal> getAmountBeforeCondition() {
		return amountBeforeCondition;
	}

	/**
	 * 设置交易前余额查询条件
	 * 
	 * @param amountBeforeCondition 交易前余额查询条件
	 */
	public void setAmountBeforeCondition(Condition<BigDecimal> amountBeforeCondition) {
		this.amountBeforeCondition = amountBeforeCondition;
	}

	/**
	 * 构造并返回交易后余额查询条件
	 * 
	 * @return amountAfterCondition 交易后余额查询条件
	 */
	public Condition<BigDecimal> amountAfter() {
		this.amountAfterCondition = new Condition<>();
		return this.amountAfterCondition;
	}
	
	/**
	 * 获取交易后余额查询条件
	 * 
	 * @return amountAfterCondition 交易后余额查询条件
	 */
	public Condition<BigDecimal> getAmountAfterCondition() {
		return amountAfterCondition;
	}

	/**
	 * 设置交易后余额查询条件
	 * 
	 * @param amountAfterCondition 交易后余额查询条件
	 */
	public void setAmountAfterCondition(Condition<BigDecimal> amountAfterCondition) {
		this.amountAfterCondition = amountAfterCondition;
	}

	/**
	 * 构造并返回交易备注查询条件
	 * 
	 * @return remarksCondition 交易备注查询条件
	 */
	public Condition<String> remarks() {
		this.remarksCondition = new Condition<>();
		return this.remarksCondition;
	}
	
	/**
	 * 获取交易备注查询条件
	 * 
	 * @return remarksCondition 交易备注查询条件
	 */
	public Condition<String> getRemarksCondition() {
		return remarksCondition;
	}

	/**
	 * 设置交易备注查询条件
	 * 
	 * @param remarksCondition 交易备注查询条件
	 */
	public void setRemarksCondition(Condition<String> remarksCondition) {
		this.remarksCondition = remarksCondition;
	}

	/**
	 * 构造并返回交易时间查询条件
	 * 
	 * @return createdTimeCondition 交易时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取交易时间查询条件
	 * 
	 * @return createdTimeCondition 交易时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置交易时间查询条件
	 * 
	 * @param createdTimeCondition 交易时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回企业id查询条件
	 * 
	 * @return companyIdCondition 企业id查询条件
	 */
	public Condition<String> companyId() {
		this.companyIdCondition = new Condition<>();
		return this.companyIdCondition;
	}
	
	/**
	 * 获取企业id查询条件
	 * 
	 * @return companyIdCondition 企业id查询条件
	 */
	public Condition<String> getCompanyIdCondition() {
		return companyIdCondition;
	}

	/**
	 * 设置企业id查询条件
	 * 
	 * @param companyIdCondition 企业id查询条件
	 */
	public void setCompanyIdCondition(Condition<String> companyIdCondition) {
		this.companyIdCondition = companyIdCondition;
	}

	/**
	 * 构造并返回企业名称查询条件
	 * 
	 * @return companyNameCondition 企业名称查询条件
	 */
	public Condition<String> companyName() {
		this.companyNameCondition = new Condition<>();
		return this.companyNameCondition;
	}
	
	/**
	 * 获取企业名称查询条件
	 * 
	 * @return companyNameCondition 企业名称查询条件
	 */
	public Condition<String> getCompanyNameCondition() {
		return companyNameCondition;
	}

	/**
	 * 设置企业名称查询条件
	 * 
	 * @param companyNameCondition 企业名称查询条件
	 */
	public void setCompanyNameCondition(Condition<String> companyNameCondition) {
		this.companyNameCondition = companyNameCondition;
	}

	/**
	 * 构造并返回第三方商户号，与第三方商户号发生交易时存在，示例：微信商户号 wx_1501780391，微信服务商商户号 wx_1505108951_1533645041，支付宝商户号：ali_2088331430099501查询条件
	 * 
	 * @return thirdMchIdCondition 第三方商户号，与第三方商户号发生交易时存在，示例：微信商户号 wx_1501780391，微信服务商商户号 wx_1505108951_1533645041，支付宝商户号：ali_2088331430099501查询条件
	 */
	public Condition<String> thirdMchId() {
		this.thirdMchIdCondition = new Condition<>();
		return this.thirdMchIdCondition;
	}
	
	/**
	 * 获取第三方商户号，与第三方商户号发生交易时存在，示例：微信商户号 wx_1501780391，微信服务商商户号 wx_1505108951_1533645041，支付宝商户号：ali_2088331430099501查询条件
	 * 
	 * @return thirdMchIdCondition 第三方商户号，与第三方商户号发生交易时存在，示例：微信商户号 wx_1501780391，微信服务商商户号 wx_1505108951_1533645041，支付宝商户号：ali_2088331430099501查询条件
	 */
	public Condition<String> getThirdMchIdCondition() {
		return thirdMchIdCondition;
	}

	/**
	 * 设置第三方商户号，与第三方商户号发生交易时存在，示例：微信商户号 wx_1501780391，微信服务商商户号 wx_1505108951_1533645041，支付宝商户号：ali_2088331430099501查询条件
	 * 
	 * @param thirdMchIdCondition 第三方商户号，与第三方商户号发生交易时存在，示例：微信商户号 wx_1501780391，微信服务商商户号 wx_1505108951_1533645041，支付宝商户号：ali_2088331430099501查询条件
	 */
	public void setThirdMchIdCondition(Condition<String> thirdMchIdCondition) {
		this.thirdMchIdCondition = thirdMchIdCondition;
	}

}
